Package com. twilio. video
Types
AudioCapturerContext
Link copied to clipboard
interface AudioCapturerContext
Content copied to clipboard
AudioCapturerFactory
Link copied to clipboard
typealias AudioCapturerFactory = (AudioCapturerContext, AudioFormat) -> AudioIORunnable
Content copied to clipboard
AudioCapturerFactory defines the signature of the factory method to construct a custom capturer implementation. The object constructed must inherit the AudioCapturerContext interface.
AudioIORunnable
Link copied to clipboard
AudioRendererContext
Link copied to clipboard
interface AudioRendererContext
Content copied to clipboard
AudioRendererFactory
Link copied to clipboard
typealias AudioRendererFactory = (AudioRendererContext, AudioFormat) -> AudioIORunnable
Content copied to clipboard
AudioRendererFactory defines the signature of the factory method to construct a custom renderer implementation. The object constructed must inherit the AudioCapturerContext interface.
NoiseCancellationAudioDevice
Link copied to clipboard
class NoiseCancellationAudioDevice(context: Context, capturerFactory: AudioCapturerFactory, rendererFactory: AudioRendererFactory) : AudioDevice, ExternalAudioProcessor
Content copied to clipboard
Functions
DefaultCapturerFactory
Link copied to clipboard
fun DefaultCapturerFactory(audioContext: AudioCapturerContext, audioFormat: AudioFormat): AudioIORunnable
Content copied to clipboard
DefaultCapturerFactory is the default capturer factory method invoked by the NoiseCancellationAudioDevice.
DefaultRendererFactory
Link copied to clipboard
fun DefaultRendererFactory(audioContext: AudioRendererContext, audioFormat: AudioFormat): AudioIORunnable
Content copied to clipboard
DefaultRendererFactory is the default renderer factory method invoked by the NoiseCancellationAudioDevice.